@import "variables";
//@import "reset";
@import "../lib/icon";
@import "../lib/nav";
@import "../lib/flex-layout";
@import "../lib/button";

//vant 修改样式
@import "../lib/vant-tabbar";
@import "../lib/vant-loading";
@import "../lib/vant-list";
@import "../lib/vant-image-preview";
@import "../lib/vant-toast";
@import "../lib/vant-pull-refresh";
@import "../lib/vant-dialog";
// 删除样式

[v-cloak] {
    display: none!important;
}
// z-index 备注 10000：帖子详情页， 点击某个评论内容 出现对评论的评论， ；
//     z-index: 9000; 帖子详情页 评论框
// 缺省页
.no-msg-box{
    min-height: 100%;
    background-color: #fff;
}
.no-msg{
    padding-top: 100px;
    padding-bottom: 100px;
    .no-img-box{
        width: 418px;
        height: 216px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        margin: auto;
    }
    .no-msg-text{
        font-size: 28px;
        color: $text999;
        text-align: center;
        margin-top: 30px;
    }
}

//common  话题、评论、 start
.person-info{
    display: flex;
    justify-content: space-between;
}
.person-left{
    display: flex;
    .info-head{
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        img{
            width: 100%;
            height: 100%;
            vertical-align: top;
        }
    }
    .info-simple{
        margin-left: 20px;
        .info-name{
            display: flex;
            align-items: center;
        }
        .name-word{
            font-size: 26px;
            color: #333;

        }
        .name-type{
            border-radius: 2PX;
            background-color: #ffa31f;
            font-size: 26px;
            color: #fff;
            margin-left: 13px;
            padding: 4px 18px;
            //height: 30px;
            text-align: left;
        }
        .info-time{
            font-size: 20px;
            color: #a0a0a0;
            text-align: left;
            margin-top: 22px;
        }
    }
}
.follow{
    display: flex;
    align-items: center;
    justify-content: center;
    .has-follow{
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        width: 20px;
        height: 14px;
    }
}

.no-follow{
    border-radius: 2PX;
    border: 1PX solid #ccc;
    font-size: 0.24rem;
    color: #999;
    //width: 1.08rem;
    height: 0.44rem;
    line-height: 0.44rem;
    text-align: center;
    padding: 0 6px;
}
.info-follow{
    border-radius: 2PX;
    border: 1PX solid #ffa31f;
    font-size: 24px;
    color: #ffa31f;
    //width: 108px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    padding: 0 6px;

}
.show-talk{
    padding-bottom: 4px;
}
.person-con{
    padding: 0 22px;
    text-align: left;
    .con-title{
        font-size: 30px;
        color: #333;
        font-weight: 500;
        margin-bottom: 15px;

    }
    .con-detail{
        font-size: 26px;
        color: #a0a0a0;
        text-align: justify;

    }
    .content-detail-word{
        color: $text-main;
        font-size: 30px;
        line-height: 36px;
        word-break: break-all;
    }
    .con-detail-img{
        width: 33.33%;
        padding: 0 10px 10px 0;
        //height: 220px;
        position: relative;
        .m-img-box{
            width: 100%;
            height: 0;
            padding-bottom: 100%;
            position: relative;
        }
        img{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            vertical-align: top;
            object-fit: cover;
        }
    }
}
.person-talk{
    display: flex;
    justify-content: space-between;
    align-items: center;
    .talk-item{
        display: flex;
        align-items: center;
    }
    .talk-icon{
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
    }
    .look-normal-icon{
        width: 40px;
        height: 28px;
    }
    .talk-normal-icon{
        height: 28px;
        width: 35px;
    }
    .like-size-style{
        height: 32px;
        width: 32px;
    }
    .like-normal-iocn{
        height: 32px;
        width: 32px;
    }
    .talk-number{
        font-size: 30px;
        color: #999999;
        margin-left: 12px;
        &.active{
            color: #ff4444;
        }
    }
}
.show-three-talk{
    margin: 0 24px;
    background-color: $talk-bg;
    padding: 0 20px;
    .show-talk-item{
        //height: 70px;
        border-bottom: 1PX solid $border;
        font-size: 26px;
        text-align: left;
        display: flex;
        align-items: center;
        padding: 18px 0 18px 8px;
        &:last-child{
            border-bottom: 0;
        }
        .like-text-word{

        }
    }
    .no-border{
        margin-top: 32px;
        padding: 0 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        font-size: 26px;
        text-align: left;
    }

    .talk-name{
        color: $text-main;
    }
    .talk-word{
        color: $text666;
        margin: 0 8px;
    }
    .overflow-hide-word{
        max-width: 100%;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
.other-talk{
    text-align: center;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    .other-talk-info{
        color: $main-blue;
        font-size: 26px;
        padding-bottom: 1PX;
        border-bottom: 1PX solid $main-blue;
        display: inline-block;
        /*line-height: 100px;*/
    }
}
.other-talk-info{
    color: $main-blue;
    font-size: 26px;
    padding-bottom: 1PX;
    border-bottom: 1PX solid $main-blue;
    display: inline-block;
    /*line-height: 100px;*/
}
.look-all-talk{
    text-align: center;
    .other-talk-info{
        color: $main-blue;
        font-size: 26px;
        padding-bottom: 1PX;
        border-bottom: 1PX solid $main-blue;
        display: inline-block;
        /*line-height: 100px;*/
    }
}
//话题、评论、 end

//点击发帖 start
.post-message-btn{
    width: 115px;
    height: 115px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    position: fixed;
    right: 44px;
    bottom: 180px;
}
//点击发帖 end
.app{
    height: 100%;
}
.list-component{
    height: 100%;
}

// 无数据

.no-data{
    font-size: 26px;
    text-align: center;
    padding-top: .3rem;
    padding-bottom: .3rem;
}

// 钱香动态列表页

.recommend-list{
    .recommend-item{
        padding: 44px 25px;
        border-bottom: 1PX solid $border;
        display: flex;
        justify-content: space-between;
        .item-has-look{
            padding-top: .2rem;
        }
        .item-img{
            width: 240px;
            height: 160px;
            margin-right: 30px;
            img{
                width: 100%;
                height: 100%;
                vertical-align: top;
            }
        }
        .item-con{
            width: 434px;

            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex: 1;
            .item-title{
                line-height: 48px;
                font-size: 28px;
                color: $text-main;
                max-height: 1rem;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }
            .dy-talk-box{
                .dy-read-info{
                    .talk-item{
                        //margin-right: 36px;
                    }
                }
            }
        }
    }
}
.vhtml-con::after{
    display: block;
    content: "";
    clear: both;
}
.vhtml-con{
    img{
        max-width: 100%;
        float: left;
    }
}

// 评论
.m-reles-con {
    overflow-y: auto;
    padding: .3rem;
}
.m-lim-width {
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}
.m-box-model {
    align-items: stretch;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    justify-content: flex-start;
    position: relative;
}
.m-pos-r {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.m-box-model {
    align-items: stretch;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    justify-content: flex-start;
    position: relative;
}


.scroll-message {
    .mt-20 {
        margin-top: 20px;
    }

    .hot-item {
        padding-bottom: 25px;


    }

    .person-con .m-text-to-me {
        color: $text-main;
        font-size: 30px;
    }

    .show-talk {
        margin-top: 25px;

        .talk-word {
            flex: 1;
        }
    }

    .chat-to {
        border-radius: 2PX;
        border: 1PX solid $border;
        font-size: 26px;
        color: $text666;
        width: 108px;
        height: 44px;
        line-height: 42px;
        text-align: center;
    }
}

